package dao;

import pojo.User;

import java.sql.SQLException;

public interface UserDao {

    public User queryByUsername(String uid) throws SQLException;
    public User queryByUsernameAndPassword(String uid,String password) throws SQLException;
    public int saveUser(User user) throws SQLException;
}

